import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
// 导入css
import "./styles/base.css"
import "./styles/index.css"

// 导入模块对象
import moduleTodo from "./store/todo"
// 导入vuex
import Vuex from "vuex"
Vue.use(Vuex)

let store = new Vuex.Store({
  modules: {
    todo: moduleTodo
  }
})

new Vue({
  render: h => h(App),
  store
}).$mount('#app')